import axios from '@/libs/api.request'
// 查询基金表
export const selectfund = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcMedicalFundService/selectfund',
    data: data,
    type: 'post'
  })
}
// 插入募捐明细
export const fundraisingdetailed = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdetailsofundraising/fundraisingdetailed',
    data: data,
    type: 'post'
  })
}
// 修改基金总额，余额
export const updatefund = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcMedicalFundService/updatefund',
    data: data,
    type: 'post'
  })
}
// 查询募捐明细
export const selectallfundList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdetailsofundraising/selectallfundList',
    data: data,
    type: 'post'
  })
}
// 查询是否募捐过
export const getselectweixinname = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdonationrank/getselectweixinname',
    data: data,
    type: 'post'
  })
}
// 修改募捐排行信息
export const updatefundmessage = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdonationrank/updatefundmessage',
    data: data,
    type: 'post'
  })
}
// 插入募捐排行信息
export const insertfundmessage = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdonationrank/insertfundmessage',
    data: data,
    type: 'post'
  })
}
// 查询募捐排行信息(排序)
export const selectallfundmessageList = (data) => {
  return axios.request({
    url: '/api/us/ctc/ctcdonationrank/selectallfundmessageList',
    data: data,
    type: 'post'
  })
}
export const submit = (data) => {
  return axios.request({
    url: '/api/uc/ctc/ctcMedicalFundService/submit',
    data: data,
    type: 'post'
  })
}
